﻿@model AuditModel.CandidateQuota

@{
    ViewBag.Title = AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
}

<h2>@AuditResources.CandidateQuota.ObjectName<text>设置</text></h2>

<h3>@AuditResources.UI.AreYouSureToDelete</h3>
<fieldset>
    <legend>@AuditResources.UI.Delete@AuditResources.CandidateQuota.ObjectName</legend>

    <div class="display-label">@AuditResources.CandidateQuota.AnnualEventId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AnnualEvent.Title)
    </div>
    <div class="display-label">@AuditResources.CandidateQuota.SubjectId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Subject.Name)
    </div>
    <div class="display-label">@AuditResources.CandidateQuota.CountyCode</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.County.Name)
    </div>
    <div class="display-label">@AuditResources.CandidateQuota.Quota</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Quota)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="@AuditResources.UI.DeleteConfirm" /> |
        @Html.RouteLink(AuditResources.UI.BackToList, "Default", new { controller = "CandidateQuota", action = "Index", id = ViewBag.AnnualEventId}, new { Class = "button" })
    </p>
}
